package singleton;

/**
 * FileName: EnumSingleton
 * Author:   周壮
 * Date:     2020/3/5 16:19
 * Description:
 */
public enum EnumSingleton {
    INSTANCE;
    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EnumSingleton getInstance() {
        return INSTANCE;
    }
}
